package com.chenyi.system.domain;

import com.chenyi.common.annotation.Excel;
import com.chenyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 广告位置对象 adver_position
 * 
 * @author qinggeng
 * @date 2020-02-12
 */
public class SysAdverPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long positionId;

    /** 位置名称 */
    @Excel(name = "位置名称")
    private String name;

    /** 宽度 */
    @Excel(name = "宽度")
    private Integer width;

    /** 高度 */
    @Excel(name = "高度")
    private Integer height;

    /** 描述 */
    @Excel(name = "描述")
    private String desc;

    public void setPositionId(Long positionId) 
    {
        this.positionId = positionId;
    }

    public Long getPositionId() 
    {
        return positionId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setWidth(Integer width) 
    {
        this.width = width;
    }

    public Integer getWidth() 
    {
        return width;
    }
    public void setHeight(Integer height) 
    {
        this.height = height;
    }

    public Integer getHeight() 
    {
        return height;
    }
    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("positionId", getPositionId())
            .append("name", getName())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("desc", getDesc())
            .toString();
    }
}
